﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/MasterPages/Dialog.Master"
    AutoEventWireup="true" CodeBehind="DeptSettingForm.aspx.cs" Inherits="DMS.Web.Modules.SystemManagement.Organization.DeptSettingForm" %>

<%@ Register Src="~/Common/Controls/ConfigSetting.ascx" TagName="ConfigSetting" TagPrefix="uc1" %>
<%@ Register Src="~/Common/Controls/MaterialQuotaSetting.ascx" TagName="MaterialQuotaSetting"
    TagPrefix="uc2" %>
<%@ Register Src="~/Common/Controls/ConfigSettingForSelector.ascx" TagName="ConfigSettingForSelector"
    TagPrefix="uc3" %>
    <%@ Register Src="~/Common/Controls/ConfigSettingForTopDept.ascx" TagName="ConfigSettingForTopDept"
    TagPrefix="uc4" %>
<%@ Register Src="~/Common/Controls/ConfigSettingForDeptCode.ascx" TagName="ConfigSettingForDeptCode" TagPrefix="uc5" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageTitle" runat="server">
    部门参数设置
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="MainHolder" runat="server">
    <div>
        当前部门：<asp:Label ID="lblContextDeptName" runat="server"></asp:Label>
        <asp:HiddenField ID="hidContextDeptID" runat="server" />
    </div>
    <fieldset>
        
        <legend>
            参数管理
        </legend>
        <div style="padding-top: 5px;">
            <uc3:ConfigSettingForSelector ID="IsHault" runat="server" ConfigID="IsHault"
                ValueTemplate="是:1#否:0" DefaultValue="0" />
            <uc4:ConfigSettingForTopDept ID="IsTopDept" runat="server" ConfigID="IsTopDept"
                ValueTemplate="是:1#否:0" DefaultValue="0" />            
            <uc5:ConfigSettingForDeptCode ID="AssetDeptCode" runat="server" ConfigID="AssetDeptCode" />
            <hr />
            <uc3:ConfigSettingForSelector ID="csDeptIsCountUnit" runat="server" ConfigID="IsDeptCountUnit"
                ValueTemplate="是:1#否:0" DefaultValue="0" />
            <uc3:ConfigSettingForSelector ID="csDeptRole" runat="server" ConfigID="DeptRole"
                ValueTemplate="请选择:未设置#职能线条:职能线条#生产线条:生产线条#市场线条:市场线条" DefaultValue="未设置" />
            <uc1:ConfigSetting ID="csFundsQuota" runat="server" ConfigID="DeptFundsQuota" />
            <uc2:MaterialQuotaSetting ID="csMQuota" runat="server" ConfigID="DeptMaterialQuota" />
        </div>
    </fieldset>
</asp:Content>

<asp:Content ID="ctFooter"  ContentPlaceHolderID="FooterHolder" runat="server">
<asp:LinkButton ID="btnSave" CssClass="linkbtn" runat="server" OnClick="btnSave_Click"
        CausesValidation="true"><span>保存</span></asp:LinkButton>&nbsp;&nbsp;
<a href="javascript:window.close();" class="linkbtn"><span>关闭</span></a>
</asp:Content>
